//
//  HomeViewController.m
//  huikandian
//
//  Created by ztfgz on 2018/9/18.
//  Copyright © 2018年 ztfgz. All rights reserved.
//

#import "HomeViewController.h"

@interface HomeViewController ()

@end

@implementation HomeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.strTitle = @"首页";
    [self setStrTitleLeftItem:@"返回" img:[UIImage imageNamed:@"left_back_img"]];
    [self setStrTitleRightItem:@"添加" img:nil];
    self.leftClick = ^{
        NSLog(@"点击了左边");
        [self.navigationController popViewControllerAnimated:YES];
    };
    self.rightClick = ^{
        NSLog(@"点击了右边");
    };
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
